package com.visikard.item;

import com.visikard.application.Constant;

/**
 * Visikard session item, leaning from com.facebook.Session
 * @see com.facebook.Session
 * @author TuanNgo
 *
 */
public class VKregisterMerchantSession {
	// private static final long serialVersionUID = 1L;

	private String username = null;
	private String password = null;
	private String loginSession = null;
	private String initSession = null;
	private long userId = Constant.INVALID_ID; // TODO: Long?
	private long kardId = Constant.INVALID_ID; // TODO: Long?
	private String cityName = null;
	private String locationAddress = "";
	private String merchantLogo;
	private String merchantName;

	// TODO: others

	public void clear() {
		username = null;
		password = null;
		loginSession = null;
		initSession = null;
		userId = Constant.INVALID_ID;
		kardId = Constant.INVALID_ID;
		cityName = null;
		locationAddress = "";
		// TODO: others
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getLoginSession() {
		return loginSession;
	}

	public void setLoginSession(String loginSession) {
		this.loginSession = loginSession;
	}

	public String getInitSession() {
		return initSession;
	}

	public void setInitSession(String initSession) {
		this.initSession = initSession;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public long getKardId() {
		return kardId;
	}

	public void setKardId(long kardId) {
		this.kardId = kardId;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getLocationAddress() {
		return locationAddress;
	}

	public void setLocationAddress(String locationAddress) {
		this.locationAddress = locationAddress;
	}

	public String getMerchantLogo() {
		return merchantLogo;
	}

	public void setMerchantLogo(String merchantLogo) {
		this.merchantLogo = merchantLogo;
	}

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}
}
